#include <iostream>
#include <string>
using namespace std;

int main()
{
	string text = "Hello OpenAI World!";
	string pattern = "OpenAI";

	int i = 0;
	while (i < text.size())
	{
		string tmp = text.substr(i, pattern.size());
		if (tmp == pattern)
		{
			break;
		}
		++i;
	}
	string ans = text.substr(0, i) + pattern + text.substr(i);
	cout << ans << endl;
	return 0;
}